package servidor.bancoServidor;

import net.java.ao.EntityManager;

public class ConectaBD {
	/*
	 * private final static String host = "SQL09.FREEMYSQL.NET"; private final
	 * static String dataBase = "bancocomp2"; private final static String user =
	 * "bancocomp2"; private final static String password = "123BancoComp2";
	 */
	private final static String host = "localhost";
	private final static String dataBase = "bancocomp2";
	private final static String user = "root";
	private final static String password = "";

	public static EntityManager criaConexao() {
		return new EntityManager("jdbc:mysql://" + host + "/" + dataBase, user,
				password);
	}
}
